<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>My Project: _setup_util 命名空间参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>命名空间列表</span></a></li>
      <li><a href="namespacemembers.html"><span>命名空间成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">_setup_util 命名空间参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a5b1728beb6e19ccf126bf9e02de6083e"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a5b1728beb6e19ccf126bf9e02de6083e">rollback_env_variables</a></td></tr>
<tr class="separator:a5b1728beb6e19ccf126bf9e02de6083e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44654f701304ecab7e37798abf014d1a"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a44654f701304ecab7e37798abf014d1a">prepend_env_variables</a></td></tr>
<tr class="separator:a44654f701304ecab7e37798abf014d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7983d4ea2ecdeaf54e133950d8a76e77"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a></td></tr>
<tr class="separator:a7983d4ea2ecdeaf54e133950d8a76e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d73115db9efca5c20b575f96b9eb065"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">comment</a></td></tr>
<tr class="separator:a9d73115db9efca5c20b575f96b9eb065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ced140c2841c9a3e692bf39d98aa9eb"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">prepend</a></td></tr>
<tr class="separator:a4ced140c2841c9a3e692bf39d98aa9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4a41589ebc32e81406c63db26e721a"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#aad4a41589ebc32e81406c63db26e721a">find_env_hooks</a></td></tr>
<tr class="separator:aad4a41589ebc32e81406c63db26e721a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a3fa0ca5a460a71a43cbc3d4954ab1f10"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a3fa0ca5a460a71a43cbc3d4954ab1f10">CATKIN_MARKER_FILE</a> = '.catkin'</td></tr>
<tr class="separator:a3fa0ca5a460a71a43cbc3d4954ab1f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5883fa688e2e824754a412ffc772863e"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a5883fa688e2e824754a412ffc772863e">system</a> = platform.system()</td></tr>
<tr class="separator:a5883fa688e2e824754a412ffc772863e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecbb100ce6f94bb3c7e16d58fde05f96"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#aecbb100ce6f94bb3c7e16d58fde05f96">IS_DARWIN</a> = (<a class="el" href="namespace__setup__util.html#a5883fa688e2e824754a412ffc772863e">system</a> == 'Darwin')</td></tr>
<tr class="separator:aecbb100ce6f94bb3c7e16d58fde05f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fe69c2dbd92959b6651a28cbb846e6e"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a6fe69c2dbd92959b6651a28cbb846e6e">IS_WINDOWS</a> = (<a class="el" href="namespace__setup__util.html#a5883fa688e2e824754a412ffc772863e">system</a> == 'Windows')</td></tr>
<tr class="separator:a6fe69c2dbd92959b6651a28cbb846e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa31804f1be8660156ce9394b33c68dc4"><td class="memItemLeft" align="right" valign="top">dictionary&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#aa31804f1be8660156ce9394b33c68dc4">ENV_VAR_SUBFOLDERS</a></td></tr>
<tr class="separator:aa31804f1be8660156ce9394b33c68dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac67cb2d93e0636936bcbeb363e2c87c3"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#ac67cb2d93e0636936bcbeb363e2c87c3">args</a> = _parse_arguments()</td></tr>
<tr class="separator:ac67cb2d93e0636936bcbeb363e2c87c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44bed5f85daa4641b3c144edb9e8c1c1"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a44bed5f85daa4641b3c144edb9e8c1c1">CMAKE_PREFIX_PATH</a> = '/home/ljq/turtlebot/devel;/home/ljq/kobuki/devel;/home/ljq/rocon/devel;/opt/ros/indigo'</td></tr>
<tr class="separator:a44bed5f85daa4641b3c144edb9e8c1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecc545d18611814ee5d7ccdf6aa55f90"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#aecc545d18611814ee5d7ccdf6aa55f90">base_path</a> = os.path.dirname(__file__)</td></tr>
<tr class="separator:aecc545d18611814ee5d7ccdf6aa55f90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a3189a3fa13a696964c791ed2a5ea85"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a0a3189a3fa13a696964c791ed2a5ea85">environ</a> = dict(os.environ)</td></tr>
<tr class="separator:a0a3189a3fa13a696964c791ed2a5ea85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8618d8be5f729d4c9696daa5e083a001"><td class="memItemLeft" align="right" valign="top">list&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace__setup__util.html#a8618d8be5f729d4c9696daa5e083a001">lines</a> = []</td></tr>
<tr class="separator:a8618d8be5f729d4c9696daa5e083a001"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a class="anchor" id="a7983d4ea2ecdeaf54e133950d8a76e77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.assignment </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00176">176</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">  176</a></span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(key, value):</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keywordflow">if</span> <span class="keywordflow">not</span> IS_WINDOWS:</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;export %s=&quot;%s&quot;&#39;</span> % (key, value)</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;set %s=%s&#39;</span> % (key, value)</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_a7983d4ea2ecdeaf54e133950d8a76e77"><div class="ttname"><a href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">_setup_util.assignment</a></div><div class="ttdeci">def assignment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00176">_setup_util.py:176</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a9d73115db9efca5c20b575f96b9eb065"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.comment </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>msg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00183">183</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">  183</a></span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">comment</a>(msg):</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordflow">if</span> <span class="keywordflow">not</span> IS_WINDOWS:</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;# %s&#39;</span> % msg</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;REM %s&#39;</span> % msg</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_a9d73115db9efca5c20b575f96b9eb065"><div class="ttname"><a href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">_setup_util.comment</a></div><div class="ttdeci">def comment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00183">_setup_util.py:183</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aad4a41589ebc32e81406c63db26e721a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.find_env_hooks </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>environ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cmake_prefix_path</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Generate shell code with found environment hooks
for the all workspaces.
</pre> 
<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00199">199</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#aad4a41589ebc32e81406c63db26e721a">  199</a></span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#aad4a41589ebc32e81406c63db26e721a">find_env_hooks</a>(environ, cmake_prefix_path):</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="stringliteral">&#39;&#39;&#39;</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="stringliteral">    Generate shell code with found environment hooks</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="stringliteral">    for the all workspaces.</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="stringliteral">    &#39;&#39;&#39;</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    lines = []</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    lines.append(<a class="code" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">comment</a>(<span class="stringliteral">&#39;found environment hooks in workspaces&#39;</span>))</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    generic_env_hooks = []</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    generic_env_hooks_workspace = []</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    specific_env_hooks = []</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    specific_env_hooks_workspace = []</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    generic_env_hooks_by_filename = {}</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    specific_env_hooks_by_filename = {}</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    generic_env_hook_ext = <span class="stringliteral">&#39;bat&#39;</span> <span class="keywordflow">if</span> IS_WINDOWS <span class="keywordflow">else</span> <span class="stringliteral">&#39;sh&#39;</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    specific_env_hook_ext = environ[<span class="stringliteral">&#39;CATKIN_SHELL&#39;</span>] <span class="keywordflow">if</span> <span class="keywordflow">not</span> IS_WINDOWS <span class="keywordflow">and</span> <span class="stringliteral">&#39;CATKIN_SHELL&#39;</span> <span class="keywordflow">in</span> environ <span class="keywordflow">and</span> environ[<span class="stringliteral">&#39;CATKIN_SHELL&#39;</span>] <span class="keywordflow">else</span> <span class="keywordtype">None</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    <span class="comment"># remove non-workspace paths</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    workspaces = [path <span class="keywordflow">for</span> path <span class="keywordflow">in</span> cmake_prefix_path.split(os.pathsep) <span class="keywordflow">if</span> path <span class="keywordflow">and</span> os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordflow">for</span> workspace <span class="keywordflow">in</span> reversed(workspaces):</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        env_hook_dir = os.path.join(workspace, <span class="stringliteral">&#39;etc&#39;</span>, <span class="stringliteral">&#39;catkin&#39;</span>, <span class="stringliteral">&#39;profile.d&#39;</span>)</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="keywordflow">if</span> os.path.isdir(env_hook_dir):</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;            <span class="keywordflow">for</span> filename <span class="keywordflow">in</span> sorted(os.listdir(env_hook_dir)):</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                <span class="keywordflow">if</span> filename.endswith(<span class="stringliteral">&#39;.%s&#39;</span> % generic_env_hook_ext):</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                    <span class="comment"># remove previous env hook with same name if present</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;                    <span class="keywordflow">if</span> filename <span class="keywordflow">in</span> generic_env_hooks_by_filename:</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;                        i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                        generic_env_hooks.pop(i)</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;                        generic_env_hooks_workspace.pop(i)</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                    <span class="comment"># append env hook</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                    generic_env_hooks.append(os.path.join(env_hook_dir, filename))</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                    generic_env_hooks_workspace.append(workspace)</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                    generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                <span class="keywordflow">elif</span> specific_env_hook_ext <span class="keywordflow">is</span> <span class="keywordflow">not</span> <span class="keywordtype">None</span> <span class="keywordflow">and</span> filename.endswith(<span class="stringliteral">&#39;.%s&#39;</span> % specific_env_hook_ext):</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                    <span class="comment"># remove previous env hook with same name if present</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                    <span class="keywordflow">if</span> filename <span class="keywordflow">in</span> specific_env_hooks_by_filename:</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;                        i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;                        specific_env_hooks.pop(i)</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                        specific_env_hooks_workspace.pop(i)</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;                    <span class="comment"># append env hook</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;                    specific_env_hooks.append(os.path.join(env_hook_dir, filename))</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                    specific_env_hooks_workspace.append(workspace)</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                    specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    env_hooks = generic_env_hooks + specific_env_hooks</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    count = len(env_hooks)</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    lines.append(<a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(<span class="stringliteral">&#39;_CATKIN_ENVIRONMENT_HOOKS_COUNT&#39;</span>, count))</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keywordflow">for</span> i <span class="keywordflow">in</span> range(count):</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        lines.append(<a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(<span class="stringliteral">&#39;_CATKIN_ENVIRONMENT_HOOKS_%d&#39;</span> % i, env_hooks[i]))</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        lines.append(<a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(<span class="stringliteral">&#39;_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE&#39;</span> % i, env_hooks_workspace[i]))</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <span class="keywordflow">return</span> lines</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_aad4a41589ebc32e81406c63db26e721a"><div class="ttname"><a href="namespace__setup__util.html#aad4a41589ebc32e81406c63db26e721a">_setup_util.find_env_hooks</a></div><div class="ttdeci">def find_env_hooks</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00199">_setup_util.py:199</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a7983d4ea2ecdeaf54e133950d8a76e77"><div class="ttname"><a href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">_setup_util.assignment</a></div><div class="ttdeci">def assignment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00176">_setup_util.py:176</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a9d73115db9efca5c20b575f96b9eb065"><div class="ttname"><a href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">_setup_util.comment</a></div><div class="ttdeci">def comment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00183">_setup_util.py:183</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4ced140c2841c9a3e692bf39d98aa9eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.prepend </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>environ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>prefix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00190">190</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">  190</a></span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">prepend</a>(environ, key, prefix):</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordflow">if</span> key <span class="keywordflow">not</span> <span class="keywordflow">in</span> environ <span class="keywordflow">or</span> <span class="keywordflow">not</span> environ[key]:</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(key, prefix)</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">if</span> <span class="keywordflow">not</span> IS_WINDOWS:</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;export %s=&quot;%s$%s&quot;&#39;</span> % (key, prefix, key)</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordflow">return</span> <span class="stringliteral">&#39;set %s=%s%%%s%%&#39;</span> % (key, prefix, key)</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_a7983d4ea2ecdeaf54e133950d8a76e77"><div class="ttname"><a href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">_setup_util.assignment</a></div><div class="ttdeci">def assignment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00176">_setup_util.py:176</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a4ced140c2841c9a3e692bf39d98aa9eb"><div class="ttname"><a href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">_setup_util.prepend</a></div><div class="ttdeci">def prepend</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00190">_setup_util.py:190</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a44654f701304ecab7e37798abf014d1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.prepend_env_variables </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>environ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>env_var_subfolders</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>workspaces</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Generate shell code to prepend environment variables
for the all workspaces.
</pre> 
<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00130">130</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#a44654f701304ecab7e37798abf014d1a">  130</a></span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#a44654f701304ecab7e37798abf014d1a">prepend_env_variables</a>(environ, env_var_subfolders, workspaces):</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="stringliteral">&#39;&#39;&#39;</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="stringliteral">    Generate shell code to prepend environment variables</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="stringliteral">    for the all workspaces.</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="stringliteral">    &#39;&#39;&#39;</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    lines = []</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    lines.append(<a class="code" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">comment</a>(<span class="stringliteral">&#39;prepend folders of workspaces to environment variables&#39;</span>))</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    paths = [path <span class="keywordflow">for</span> path <span class="keywordflow">in</span> workspaces.split(os.pathsep) <span class="keywordflow">if</span> path]</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    prefix = _prefix_env_variable(environ, <span class="stringliteral">&#39;CMAKE_PREFIX_PATH&#39;</span>, paths, <span class="stringliteral">&#39;&#39;</span>)</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    lines.append(<a class="code" href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">prepend</a>(environ, <span class="stringliteral">&#39;CMAKE_PREFIX_PATH&#39;</span>, prefix))</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordflow">for</span> key <span class="keywordflow">in</span> sorted([key <span class="keywordflow">for</span> key <span class="keywordflow">in</span> env_var_subfolders.keys() <span class="keywordflow">if</span> key != <span class="stringliteral">&#39;CMAKE_PREFIX_PATH&#39;</span>]):</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        subfolder = env_var_subfolders[key]</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        prefix = _prefix_env_variable(environ, key, paths, subfolder)</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        lines.append(<a class="code" href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">prepend</a>(environ, key, prefix))</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordflow">return</span> lines</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_a9d73115db9efca5c20b575f96b9eb065"><div class="ttname"><a href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">_setup_util.comment</a></div><div class="ttdeci">def comment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00183">_setup_util.py:183</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a4ced140c2841c9a3e692bf39d98aa9eb"><div class="ttname"><a href="namespace__setup__util.html#a4ced140c2841c9a3e692bf39d98aa9eb">_setup_util.prepend</a></div><div class="ttdeci">def prepend</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00190">_setup_util.py:190</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a44654f701304ecab7e37798abf014d1a"><div class="ttname"><a href="namespace__setup__util.html#a44654f701304ecab7e37798abf014d1a">_setup_util.prepend_env_variables</a></div><div class="ttdeci">def prepend_env_variables</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00130">_setup_util.py:130</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a5b1728beb6e19ccf126bf9e02de6083e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def _setup_util.rollback_env_variables </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>environ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>env_var_subfolders</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Generate shell code to reset environment variables
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
This does not cover modifications performed by environment hooks.
</pre> 
<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00063">63</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="namespace__setup__util.html#a5b1728beb6e19ccf126bf9e02de6083e">   63</a></span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">def </span><a class="code" href="namespace__setup__util.html#a5b1728beb6e19ccf126bf9e02de6083e">rollback_env_variables</a>(environ, env_var_subfolders):</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="stringliteral">&#39;&#39;&#39;</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="stringliteral">    Generate shell code to reset environment variables</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="stringliteral">    by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="stringliteral">    This does not cover modifications performed by environment hooks.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="stringliteral">    &#39;&#39;&#39;</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    lines = []</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    unmodified_environ = copy.copy(environ)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">for</span> key <span class="keywordflow">in</span> sorted(env_var_subfolders.keys()):</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        subfolders = env_var_subfolders[key]</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">if</span> <span class="keywordflow">not</span> isinstance(subfolders, list):</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            subfolders = [subfolders]</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">for</span> subfolder <span class="keywordflow">in</span> subfolders:</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            value = _rollback_env_variable(unmodified_environ, key, subfolder)</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="keywordflow">if</span> value <span class="keywordflow">is</span> <span class="keywordflow">not</span> <span class="keywordtype">None</span>:</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                environ[key] = value</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;                lines.append(<a class="code" href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">assignment</a>(key, value))</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordflow">if</span> lines:</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        lines.insert(0, <a class="code" href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">comment</a>(<span class="stringliteral">&#39;reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH&#39;</span>))</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordflow">return</span> lines</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
</div>
<div class="ttc" id="namespace__setup__util_html_a7983d4ea2ecdeaf54e133950d8a76e77"><div class="ttname"><a href="namespace__setup__util.html#a7983d4ea2ecdeaf54e133950d8a76e77">_setup_util.assignment</a></div><div class="ttdeci">def assignment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00176">_setup_util.py:176</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a9d73115db9efca5c20b575f96b9eb065"><div class="ttname"><a href="namespace__setup__util.html#a9d73115db9efca5c20b575f96b9eb065">_setup_util.comment</a></div><div class="ttdeci">def comment</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00183">_setup_util.py:183</a></div></div>
<div class="ttc" id="namespace__setup__util_html_a5b1728beb6e19ccf126bf9e02de6083e"><div class="ttname"><a href="namespace__setup__util.html#a5b1728beb6e19ccf126bf9e02de6083e">_setup_util.rollback_env_variables</a></div><div class="ttdeci">def rollback_env_variables</div><div class="ttdef"><b>Definition:</b> <a href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00063">_setup_util.py:63</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a class="anchor" id="ac67cb2d93e0636936bcbeb363e2c87c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.args = _parse_arguments()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00260">260</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="aecc545d18611814ee5d7ccdf6aa55f90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.base_path = os.path.dirname(__file__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00268">268</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a3fa0ca5a460a71a43cbc3d4954ab1f10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string _setup_util.CATKIN_MARKER_FILE = '.catkin'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00046">46</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a44bed5f85daa4641b3c144edb9e8c1c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.CMAKE_PREFIX_PATH = '/home/ljq/turtlebot/devel;/home/ljq/kobuki/devel;/home/ljq/rocon/devel;/opt/ros/indigo'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00266">266</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="aa31804f1be8660156ce9394b33c68dc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dictionary _setup_util.ENV_VAR_SUBFOLDERS</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="namespace__setup__util.html">    1</a></span>&#160;= {</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;    <span class="stringliteral">&#39;CMAKE_PREFIX_PATH&#39;</span>: <span class="stringliteral">&#39;&#39;</span>,</div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;    <span class="stringliteral">&#39;CPATH&#39;</span>: <span class="stringliteral">&#39;include&#39;</span>,</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;    <span class="stringliteral">&#39;LD_LIBRARY_PATH&#39;</span> <span class="keywordflow">if</span> <span class="keywordflow">not</span> IS_DARWIN <span class="keywordflow">else</span> <span class="stringliteral">&#39;DYLD_LIBRARY_PATH&#39;</span>: [<span class="stringliteral">&#39;lib&#39;</span>, os.path.join(<span class="stringliteral">&#39;lib&#39;</span>, <span class="stringliteral">&#39;x86_64-linux-gnu&#39;</span>)],</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;    <span class="stringliteral">&#39;PATH&#39;</span>: <span class="stringliteral">&#39;bin&#39;</span>,</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;    <span class="stringliteral">&#39;PKG_CONFIG_PATH&#39;</span>: [os.path.join(<span class="stringliteral">&#39;lib&#39;</span>, <span class="stringliteral">&#39;pkgconfig&#39;</span>), os.path.join(<span class="stringliteral">&#39;lib&#39;</span>, <span class="stringliteral">&#39;x86_64-linux-gnu&#39;</span>, <span class="stringliteral">&#39;pkgconfig&#39;</span>)],</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;    <span class="stringliteral">&#39;PYTHONPATH&#39;</span>: <span class="stringliteral">&#39;lib/python2.7/dist-packages&#39;</span>,</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;}</div>
</div><!-- fragment -->
<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00053">53</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a0a3189a3fa13a696964c791ed2a5ea85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.environ = dict(os.environ)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00273">273</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="aecbb100ce6f94bb3c7e16d58fde05f96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.IS_DARWIN = (<a class="el" href="namespace__setup__util.html#a5883fa688e2e824754a412ffc772863e">system</a> == 'Darwin')</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a6fe69c2dbd92959b6651a28cbb846e6e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.IS_WINDOWS = (<a class="el" href="namespace__setup__util.html#a5883fa688e2e824754a412ffc772863e">system</a> == 'Windows')</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a8618d8be5f729d4c9696daa5e083a001"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">list _setup_util.lines = []</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00274">274</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a5883fa688e2e824754a412ffc772863e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tuple _setup_util.system = platform.system()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html">_setup_util.py</a> 第 <a class="el" href="catkin__generated_2installspace_2__setup__util_8py_source.html#l00048">48</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2017年 四月 7日 星期五 09:19:14 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
